package com.hruiworks.campusgroup.service;

import com.hruiworks.campusgroup.common.PageVO;
import com.hruiworks.campusgroup.pojo.entity.ActivityGrade;
import com.hruiworks.campusgroup.pojo.entity.Feedback;
import com.baomidou.mybatisplus.extension.service.IService;
import com.hruiworks.campusgroup.pojo.entity.User;
import com.hruiworks.campusgroup.pojo.request.FeedbackCreateRequest;

/**
* @author jiushui
* @description 针对表【feedback(反馈)】的数据库操作Service
* @createDate 2025-03-26 19:13:20
*/
public interface FeedbackService extends IService<Feedback> {

    /**
     * 提交反馈
     * @param feedbackCreateRequest 反馈创建请求体
     * @return 提交成功返回true
     */
    Boolean submitFeedback(FeedbackCreateRequest feedbackCreateRequest, User user);

    /**
     * 分页查看反馈
     * @param current
     * @param pageSize
     * @param activityId
     * @return
     */
    PageVO<Feedback> pageFeedback(Long current, Long pageSize, Long activityId);
}
